package com.lpit.controller;

import com.lpit.dto.UserBehaviorDto;
import com.lpit.result.ResponseResult;
import org.springframework.context.ApplicationContext;
import org.springframework.web.bind.annotation.*;

@RestController
public class RelationController {

    /**
     * 添加关注
     */
    @PostMapping("/user/follow.do")
    public ResponseResult<Integer> addFollow(UserBehaviorDto userAndFans){

        return null;
    }

    /**
     * 取消关注
     */
    @DeleteMapping("/user/unfollow.do")
    public ResponseResult<Integer> delUnfollow(UserBehaviorDto userAndFans){
        return null;
    }
}
